@import '@/assets/scss/form.scss';
@import '@/assets/scss/student.scss';
@import '@/assets/scss/dash.scss';
$color-primary:#ab282e;

//不可修改
.c-width {
    width: 100%;
}

.c-height {
    height: 100%;
}

.c-dis-flex-row {
    display: flex;
    flex-direction: row !important;
}

.c-dis-flex-col {
    display: flex;
    flex-direction: column;
}

.c-hidden {
    overflow: hidden;
}

.c-hidden-auto {
    overflow: auto;
}

.c-hidden-auto-y {
    overflow-y: auto;
    overflow-x: hidden;
}

.c-flex {
    flex: 1;
}

.c-cursor-pointer {
    cursor: pointer;
}

.c-scroll-y {
    overflow-y: auto !important;
}

.color {
    color: $base-menu-color;
}

.c-display-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-display-flex-justify-between {
    justify-content: space-between;
}


.c-pos-rel {
    position: relative;
}

.c-pos-abs {
    position: absolute;
}

ul,
li,
ol {
    list-style: none;
}

.com-margin-left,
.c-margin-left {
    margin-left: 20px;
}

.com-margin-right,
.c-margin-right {
    margin-right: 20px;
}

.com-margin-top,
.c-margin-top {
    margin-top: 20px;
}

.com-margin-bottom,
.c-margin-bottom {
    margin-bottom: 20px;
}


//////////////////////////////////////////////////////////

.com-cont-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0px 2px 4px 0px rgba(187, 214, 249, 0.65);
    border-radius: 0;

    .com-tit {
        .tit {
            display: flex;
            align-items: center;
            font-size: 14px;
            font-family: PingFangSC-Medium, PingFang SC;
            font-weight: 500;
            color: #381315;
            padding: 16px 10px;

            span {
                width: 6px;
                height: 12px;
                margin: 0 6px;
                background: $color-primary;
                border-radius: 3px;
            }
        }
    }
}

.app-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 10px;
    overflow: hidden;
    font-size: .7292vw;
}

.app-container-edit {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 10px;
    overflow: hidden;
    .el-form {
        padding: 0 10vw;
    }
}

.com-edit-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #381315;
    padding: 16px 10px;
    margin-bottom: 10px;

    span {
        width: 6px;
        height: 12px;
        margin: 0 6px;
        background: $color-primary;
        border-radius: 3px;
    }
}

.btn_link {
    display: inline-block;
    padding: 4px;
    cursor: pointer;

    &.btn_link_danger {
        color: #ff4949;
    }

    &.btn_link_warn {
        color: #FFBA00;
    }

    &.btn_link_success {
        color: #30B08F;
    }

    &.btn_link_primary {
        color: #ab282e;
    }

    &.btn_link_info {
        color: #717171;
    }
}

.el-button--primary.is-plain {
    // background-color: #fff !important;
}
